﻿//*********************************************************************
//
//  文件名：ICollectInvoiceService
//
//  作者： Pwp
//
//  作用：收票接口类
//
//  日期：2015-10-08
//
//*********************************************************************
using Framework.Common.Paged;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using YouTravel.DomainModels;
using YouTravel.QueryModels;
using YouTravel.ViewModels;

namespace YouTravel.DomainService
{
	public interface ICollectInvoiceService
	{
		/// <summary>
		/// 机构列表页面 Pwp 2015-10-08
		/// </summary>
		/// <param name="queryCond">机构查询集合</param>
		/// <returns></returns>
		CustomPagedList<CollectInvoiceViewModel> GetList(PagedParam<CollectInvoiceQuery> queryCond);

		/// <summary>
		/// 提交发票 Pwp 2015-10-08
		/// </summary>
		/// <param name="contractview"></param>
		/// <returns></returns>
		void AddCollectInvoice(CollectInvoiceAddModel contractview);

		/// <summary>
		/// 付款发票详细
		/// </summary>
		/// <param name="collectinvoiceid"></param>
		/// <returns></returns>
		CollectInvoiceDetailModel DetailCollectInvoice(int collectinvoiceid);

		/// <summary>
		/// 修改付款发票状态
		/// </summary>
		/// <param name="collectinvoicemodel"></param>
		void EditCollectInvoiceStatus(CollectInvoiceStatusModel collectinvoicemodel);
	}
}
